﻿

<%@ Page Title="" Language="C#" MasterPageFile="~/Site1.Master" AutoEventWireup="true" CodeBehind="TrckList.aspx.cs" Inherits="HPITSS.TrckList" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
     <style type="text/css">
       #table1 th{
           background-color:cornflowerblue;
       }
       #table1{
             border:1px solid #F2F2E6;
             background-color:#F2F2E6;
       }
       hr{
           width:680px;
       }
      h3{
        margin:0 auto;
        margin-left:320px;
      }
      #spans{
          margin-left:320px;
      }
      #spans>span{
          display: inline-block; 
          height:30px;
         width:150px;
      }
      #zong{
          height:400px;
          margin-top:200px;
          background-color:blanchedalmond;

      }
       
    </style>
    <script type="text/javascript">
        
        $(function () {
            $(".delete").click(function () {
                return confirm("您确定要删除嘛");
            })
        })
    </script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div id="zong">
    <h3>车队信息维护</h3>
         <hr />
            <span id="spans">
            <span >车队名称:</span>
            <span> <asp:DropDownList ID="DropDownList2" runat="server">
        <asp:ListItem Value="0">不限</asp:ListItem>
    </asp:DropDownList></span>
            <span>车队负责人:</span>
            <span ><input type="text" style="width:100px"/></span>
            <span><button>查询</button></span> 
    <asp:Repeater ID="RPTruckTeam" runat="server">

        <HeaderTemplate>
            <table align="center" id="table1" cellspacing="0" cellpadding="0" border="1">
            <th>车队编号</th>
            <th>车队名称</th>
            <th>负责人</th>
            <th>创队时间</th>
            <th>更新时间</th>
            <th>备注</th>
            <th>用户操作</th>
        </HeaderTemplate>
        <ItemTemplate>
            <tr>
                <td><%#Eval("TeamID") %></td>
                <td><%#Eval("TeamName") %></td>
                <td><%#Eval("Leader") %></td>
                <td><%# Eval("Remark") %></td>
                <td><%#Eval("CheckInTime") %></td>
                <td><%# Eval("IsDelete") %></td>
                <td><%#Eval("AlterTime") %></td>
               
                <td style="width:80px;overflow:hidden;"><textarea><%#Eval("Remark") %> </textarea> </td>
                
                <td><a href="EditTruckTeam.aspx?TeamID=<%# Eval("TeamID") %>" style="text-decoration: none;">修改</a> <br /> 
                    <a href="/MyHandler/DeleteTruckHandler.ashx?TeamID=<%#Eval("TeamID") %>" style="text-decoration: none;" class="delete">删除</a></td>
                
            </tr>
        </ItemTemplate>
        <FooterTemplate>
           </table>
        </FooterTemplate>
    </asp:Repeater>
                </div>
</asp:Content>


